package com.lagou.simpleFactory;

/**
 * 工厂模式
 */
public class simpleFactoryTest {

    public static void main(String[] args) {
        Computer computer = ComputerFactory.createComputer("hp");
        computer.start();
    }
}
